package com.turing.post.organization.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 发卡商渠道收益机构业务逻辑接口
 * 
 * @author zxp
 * @Jan 10, 2013
 */
@Remote
@Local
public interface IncomeBranchBusiness {

	/**
	 * 新增发卡商渠道收益机构
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param incomeBranch
	 *            发卡商渠道收益机构
	 * @throws PCPSApplicationException
	 */
	public void insertIncomeBranchInfo(PCPSWebInput webInput,
			IncomeBranch incomeBranch) throws PCPSApplicationException;

	/**
	 * 修改发卡商渠道收益机构
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param incomeBranch
	 *            发卡商渠道收益机构
	 * @throws PCPSApplicationException
	 */
	public void updateIncomeBranchInfo(PCPSWebInput webInput,
			IncomeBranch incomeBranch) throws PCPSApplicationException;
	/**
	 * 根据id删除收益机构
	 */
	public void deleteIncomeBranch(PCPSWebInput webInput,String incomeBranchid)throws PCPSApplicationException;
}
